package com.gmail.dmitryustimov.ms.java7.patternslib.mediator;


public abstract class SubscriberAction<T> {

    private Colleague hostColleague;

    public Colleague getHostColleague() {
        return hostColleague;
    }

    public void setHostColleague(Colleague hostColleague) {
        this.hostColleague = hostColleague;
    }

    public SubscriberAction(Colleague hostColleague) {
         this.hostColleague = hostColleague;
    }

    public abstract void process(T eventData, Colleague originator);
}
